﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Mongaba.Core.Enumerators;

namespace Mongaba.Core.DataContracts
{
    [DataContract(Name = "GroupContract"), Serializable]
    public class GroupContract
    {
        public GroupContract()
        {
            Id = Guid.NewGuid().ToString();
        }

        [DataMember(Name = "Id", IsRequired = true, Order = 0)]
        public string Id { get; set; }

        [DataMember(Name = "Status", IsRequired = true, Order = 1)]
        public GroupStatus Status { get; set; }

        [DataMember(Name = "Name", IsRequired = true, Order = 2)]
        public string Name { get; set; }
      
    }
}
